package org.lanqiao.service.impl;


import org.springframework.web.util.HtmlUtils;

public class Test {

    public static void main(String[] args) {

        String s = "<p><b>1、什么是Vue?</b>";
        String temp = HtmlUtils.htmlEscape(s, "UTF-8");
        System.out.println(temp);

        String returnHtml = HtmlUtils.htmlUnescape(temp);
        System.out.println(returnHtml);
    }

}
